#ifndef _DevicesADC_H_
#define _DevicesADC_H_




#define ADC_DMA_CHANNEL_TEMPERATURE     0
#define ADC_DMA_CHANNEL_HOST_HOLD       1
#define ADC_DMA_CHANNEL_DUST_BAG        2
#define ADC_DMA_CHANNEL_MOTO            3
#define ADC_DMA_CHANNEL_BLOWER          4
#define ADC_DMA_CHANNEL_CHARGE_STATE    5
#define ADC_DMA_CHANNEL_CHARGE_CURRENT  6

#define ADC_DMA_CHANNEL_TEMP_SENSOR     7
#define ADC_DMA_CHANNEL_VREFINT         8
#define ADC_DMA_CHANNEL_VREFP           9
#define ADC_DMA_CHANNEL_VDDA            10


/* 每通道采样次数 */
#define ADC1_SAMPLING_NUMBER  8
/* 通道数量 */
#define ADC1_SAMPLING_CHANNEL 11
/* 采样时间 */
#define ADC_SAMPLE_TIME ADC_SAMP_TIME_600CYCLES5





void vADCInit(void);
float fADCGetValue(uint8_t channel);

#endif
